﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Item.aspx.cs" Inherits="Images_Item" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" Runat="Server">


    <asp:DataList ID="dtlItems" runat="server" RepeatLayout="Flow" 
        ShowFooter="False" ShowHeader="False">
    <ItemTemplate>
              <div class="bookInfoGrid">
                    <!--row1.c1-->
                    <div class="bookInfoImage">
                        <img src="<%#Eval("image_url")%>" />
                    </div>
                    <div class="bookInfoArea">
                        <!--infoText-->
                        <div class="bookInfoCaption">
                            <h5>
                                <%#Eval("name")%></h5>
                        </div>
                        <h3>Price</h3>
                        <div class="pnlPrice">
                            <span class="bookOldPrice">
                                <%#Eval("price")%></span> <span class="bookNewPrice">
                                    <%#Eval("price")%></span>
                        </div>
                        <asp:Panel ID="Panel1" runat="server" CssClass="buttonHolder">
                            <%--<asp:Label ID="Label1" runat="server" Text="Label" ></asp:Label>--%>
                            <asp:Button CssClass="btnDetail" ID="btnDetail" runat="server" Text="Detail"></asp:Button>
                            <asp:Button CssClass="btnAddtoCart" ID="btnAddToCart" runat="server" Text="AddToCart"
                            CommandName="Select">
                            </asp:Button>
                        </asp:Panel>
                        <div class="bookInfoText">
                            <%#Eval("notes")%>
                            <%--sdm,sd,smd--%>
                        </div>
                        <h3>Author</h3>
                        <div class="bookInfoText">
                            <%#Eval("author")%>
                        </div>
                        <%--<div class="buttonHolder">
                            <span>
                                <button class="btnDetail">
                                    Detail</button></span> <span>
                                        <asp:Button CssClass="btnAddtoCart" ID="btnAddToCart" runat="server" Text="AddToCart">
                                        </asp:Button></span>
                        </div>--%>
                    </div>
                    <!--infoText-->
                </div>
    </ItemTemplate>
</asp:DataList>


</asp:Content>

